package net.melon.product.pojo;

import java.util.List;

import net.esj.basic.pojo.AbstractPojo;

public class ProductType extends AbstractPojo<Long> {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -3167722595617507946L;

	private Long id;
	
	private String name;
	
	private String subName;
	
	private int state;
	
	private List<ProductBrand> brandList;

	private List<ProductSpecifications> specificationsList;
	
	private List<ProductAttribute> attributeList;
	
	public ProductType() {
		
	}

	public ProductType(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSubName() {
		return subName;
	}

	public void setSubName(String subName) {
		this.subName = subName;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public List<ProductBrand> getBrandList() {
		return brandList;
	}

	public void setBrandList(List<ProductBrand> brandList) {
		this.brandList = brandList;
	}

	public List<ProductSpecifications> getSpecificationsList() {
		return specificationsList;
	}

	public void setSpecificationsList(List<ProductSpecifications> specificationsList) {
		this.specificationsList = specificationsList;
	}

	public List<ProductAttribute> getAttributeList() {
		return attributeList;
	}

	public void setAttributeList(List<ProductAttribute> attributeList) {
		this.attributeList = attributeList;
	}
	
}
